package com.bp.hearthealth.pulse.lnapps.bp_utils

import android.os.Process

object LaunchTypeDetector {

    private var lastProcessId: Int = -1
    fun isColdStart(): Boolean {
        val currentProcessId = Process.myPid()
        val isColdStart = lastProcessId != currentProcessId
        lastProcessId = currentProcessId
        return isColdStart
    }
}

